How to build the Renderware MAX exporter:

General
----------------

Go to Control Panel>System>Advanced and add an environment variable called MAX3_INSTALL_DIR
and point it to you max directory, e.g. C:\3dsmax3_1.  This is how rwexp.dsp determines where
your MAX SDK is, and where to put rw30exp.dle (the Renderware exporter plugin).

(You will need to have the MAX SDK installed within your 3dsmax3_1 folder,
if it wasn't already installed there by default.)

HTML Online help
----------------

The Renderware exporter makes use of the Microsoft HTML help compiler for online help
as a post build step. Open rwexp.dsp in Visual Studio and go to Project>Settings>Custom Build>Commands.
Change the line "c:\program files\HTML help workshop\hhc.exe"
to point to the copy of hhc.exe on your machine.

Character Studio
----------------

If you want to use the Character Studio 2 or 3 support in the Renderware exporter, you'll
need to copy phyexp.h and bipexp.h from the Character Studio SDK into your MAX SDK include directory.
(for Character Studio 2 these are in 3dsmax3_1\CSTDIO\DOCS,
for Character Studio 3 these are in 3dsmax3_1\CSTDIO\SDK).

Additionally, make a copy of Character Studio 2's phyexp.h and rename it phyexp2.h,
and make a copy of Character Studio 3's phyexp.h and rename it phyexp3.h, 
and put them both in export\3dsmax\src. (This is necessary because parts of the Physique SDK have
changed between version 2 and version 3 and the Renderware MAX exporter must support both,
yet the headers are mutually incompatible.)

If you have only Character Studio 2 or only Character Studio 3, you can just take whichever
phyexp.h you have make two copies of it as per above,
then in physique2.cpp or physique3.cpp as appropriate, remove the line
#error "This file must be compiled against the phyexp.h that came with CharacterStudio x".

Open the rwexp.dsp in Visual Studio and go to Project>Settings>C/C++>General>Preprocessor Definitions
and make sure the symbol CSSUPPORT is defined.

Or, if you don't have any version of Character Studio at all, remove the symbol CSSUPPORT.

